export interface Price {
    price: number,
    symbol: string
}

export interface AvgPrice {
    mins: number
    price: string
}
export interface TickerDaily {
    symbol: string
    priceChange: number
    priceChangePercent: number
    weightedAvgPrice: number
    prevClosePrice: number
    lastPrice: number
    lastQty: number
    bidPrice: number
    askPrice: number
    openPrice: number
    highPrice: number
    lowPrice: number
    volume: number
    quoteVolume: number
    openTime: number
    closeTime: number
    firstId: number
    lastId: number
    count: number
}

export interface BookTicker {
    symbol: string
    bidPrice: number
    bidQty: number
    askPrice: number
    askQty: number
}


export interface Depth {
    lastUpdateId: number
    bid: number[][]
    asks: number[][]
}

export interface Trades {
    id: number
    price: number
    qty: number
    time: number
    isBuyerMaker: boolean
    isBestMatch: boolean
}

export interface AggTrades {
    aggId: number
    price: number
    qty: number
    firstId: number
    lastId: number
    time: number
    main: boolean
    match: boolean
}

export interface Klines {
    openTime: number
    openPrice: number
    highPrice: number
    lowPrice: number
    closingPrice: number
    qty: number
    closingTime: number
    turnoverPrice: number
    turnoverQty: number
    buyQty: number
    buyPrice: number
    none:number
}


export interface RealTimeViewData {
    pair: string
    lastPrice: number
    dailyChange: number
    dailyHigh: number
    dailyLow: number
    dailyVolume: number
}

